//创建仓库
import {configureStore} from "@reduxjs/toolkit";
import cartSlice from "./slice/cart";
import goodsSlice from "./slice/goods";

const store = configureStore({
    reducer:{
        goods:goodsSlice.reducer,
        cart:cartSlice.reducer
    }
})
export default store